package cn.tedu._13weibo626.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NonNull;

@Data
public class UserRegParam {
    @NotNull(message = "用户名不能为空")
    @Schema(required = true, description = "用户名")
    private String username;
    @Schema(required = true, description = "密码")
    private String password;
    @Schema(required = true, description = "昵称")
    private String nickname;
}
